﻿/*
Created by Vadim Shchemelinin aka badger 
2012 St.Petersburg

Hide markers for sides.

0 = [[marker1,...,markerN],side] execVM "bgr_HideMarkers.sqf";

0 = [["m1","m2"],east] execVM "bgr_HideMarkers.sqf";
*/

if (isdedicated) exitWith {};

_markers = _this select 0;
_side = _this select 1;

if (side player == _side) then {
	{_x setMarkerAlphaLocal 0} foreach _markers;
};